home *** CD-ROM | disk | FTP | other *** search
- Path: merle.acns.nwu.edu!judd
- From: judd@merle.acns.nwu.edu (Stephen Judd)
- Newsgroups: comp.sys.cbm
- Subject: Re: Commodore Arithmetic
- Date: 9 Feb 1996 06:22:26 GMT
- Organization: Northwestern University, Evanston IL
- Message-ID: <4fep72$b44@news.acns.nwu.edu>
- References: <96020719151143766@qcs.org> <4fbodv$aam@bcarh8ab.bnr.ca>
- Reply-To: sjudd@nwu.edu (Stephen Judd)
- NNTP-Posting-Host: merle.acns.nwu.edu
-
- In article <4fbodv$aam@bcarh8ab.bnr.ca>,
- Markus Wandel <markus@pinetree.org> wrote:
- >Having discovered BCD arithmetic (in a TRS-80 Model 100 portable computer)
-
- >And not that much storage wastage either.
-
- I must disagree. Four bits per digit means that in eight bits you can
- represent 100 BCD numbers, which is of course down from 256 binary numbers.
- Two bytes can represent 10000 numbers, compared with 65536 binary numbers.
- So in just two bytes I am already down by a factor of six.
-
- But, hey, I've got an open mind: so, what kinds of things have you (or
- anyone else) found BCD useful for? I.e. something that would be a real
- drag to do in binary.
-
- evetS-
-
- >Markus Wandel Ottawa Ont. Canada (613) 592-1225
-